﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductsInSameManufacturer.ascx.cs" Inherits="smartphone.UserControls.ProductsInSameManufacturer" %>
<%@ Import Namespace="smartphone.App_Code" %>

<div class="list-same-manufacturer">
    <div class="same-manufacturer-items-list">
        <span class="headerTemplate">Sản phẩm cùng hãng</span>
        <asp:Repeater ID="RepeaterSameManufacturer" runat="server">
            <ItemTemplate>
                <div class="same-manufacturer-item">
                    <a href="<%# LinkClass.ToProductDetail(Eval("maSanPham").ToString()) %>">
                        <img src="<%# LinkClass.ToProductImage(Eval("hinhDaiDien").ToString()) %>" width="76" height="64" />
                    </a>
                    <a href="<%# LinkClass.ToProductDetail(Eval("maSanPham").ToString()) %>">
                        <%#HttpUtility.HtmlEncode(Eval("tenSanPham").ToString()) %>
                    </a>
                </div>
            
            </ItemTemplate>
        </asp:Repeater>
    </div>
</div>